package com.deram.ctin.serv.business.entity;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.enums.IdType;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@ApiModel(description = "工商信息")
public class BusinessInfo implements Serializable {

    @ApiModelProperty(value = "ID")
    @TableId
    private Long id;
    @ApiModelProperty(value = "企业ID")
    private Long enterId;
    @ApiModelProperty(value = "统一社会信用代码")
    private String unifiedCode;
    @ApiModelProperty(value = "纳税人识别号")
    private String taxpayerIdentity;
    @ApiModelProperty(value = "注册号")
    private String registrationNumber;
    @ApiModelProperty(value = "组织机构代码")
    private String organizationCode;
    @ApiModelProperty(value = "法定代表人")
    private String legalReps;
    @ApiModelProperty(value = "法人识别号")
    private String legalRepsCode;
    @ApiModelProperty(value = "注册资本")
    private BigDecimal registeredCapital;
    @ApiModelProperty(value = "经营状态")
    private Integer managementStatus;
    @ApiModelProperty(value = "经营状态名字")
    private String managementStatusName;
    @ApiModelProperty(value = "成立日期")
    private Date creationDate;
    @ApiModelProperty(value = "公司类型")
    private Integer enterType;
    @ApiModelProperty(value = "公司类型名称")
    private String enterTypeName;
    @ApiModelProperty(value = "人员规模")
    private String staffSize;
    @ApiModelProperty(value = "开始营业时间")
    private Date openingTime;
    @ApiModelProperty(value = "终止营业时间")
    private Date closingTime;
    @ApiModelProperty(value = "登记机关")
    private String registrationAuthority;
    @ApiModelProperty(value = "核准日期")
    private Date approvalDate;
    @ApiModelProperty(value = "英文名")
    private String englishName;
    @ApiModelProperty(value = "所属地区")
    private String areaName;
    @ApiModelProperty(value = "所属行业")
    private String industryInvolved;
    @ApiModelProperty(value = "曾用名")
    private String usedName;
    @ApiModelProperty(value = "企业地址")
    private String businessAddress;
    @ApiModelProperty(value = "经营范围")
    private String businessScope;
    @ApiModelProperty(value = "搜索关键字")
    private String keywords;
    @ApiModelProperty(value = "记录年份")
    private Integer year;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getEnterId() {
        return enterId;
    }

    public void setEnterId(Long enterId) {
        this.enterId = enterId;
    }

    public String getUnifiedCode() {
        return unifiedCode;
    }

    public void setUnifiedCode(String unifiedCode) {
        this.unifiedCode = unifiedCode == null ? null : unifiedCode.trim();
    }

    public String getTaxpayerIdentity() {
        return taxpayerIdentity;
    }

    public void setTaxpayerIdentity(String taxpayerIdentity) {
        this.taxpayerIdentity = taxpayerIdentity == null ? null : taxpayerIdentity.trim();
    }

    public String getRegistrationNumber() {
        return registrationNumber;
    }

    public void setRegistrationNumber(String registrationNumber) {
        this.registrationNumber = registrationNumber == null ? null : registrationNumber.trim();
    }

    public String getOrganizationCode() {
        return organizationCode;
    }

    public void setOrganizationCode(String organizationCode) {
        this.organizationCode = organizationCode == null ? null : organizationCode.trim();
    }

    public String getLegalReps() {
        return legalReps;
    }

    public void setLegalReps(String legalReps) {
        this.legalReps = legalReps;
    }

    public String getLegalRepsCode() {
        return legalRepsCode;
    }

    public void setLegalRepsCode(String legalRepsCode) {
        this.legalRepsCode = legalRepsCode;
    }

    public BigDecimal getRegisteredCapital() {
        return registeredCapital;
    }

    public void setRegisteredCapital(BigDecimal registeredCapital) {
        this.registeredCapital = registeredCapital;
    }

    public Integer getManagementStatus() {
        return managementStatus;
    }

    public void setManagementStatus(Integer managementStatus) {
        this.managementStatus = managementStatus;
    }

    public String getManagementStatusName() {
        return managementStatusName;
    }

    public void setManagementStatusName(String managementStatusName) {
        this.managementStatusName = managementStatusName == null ? null : managementStatusName.trim();
    }

    public Date getCreationDate() {
        return creationDate;
    }

    public void setCreationDate(Date creationDate) {
        this.creationDate = creationDate;
    }

    public String getStaffSize() {
        return staffSize;
    }

    public void setStaffSize(String staffSize) {
        this.staffSize = staffSize == null ? null : staffSize.trim();
    }

    public Date getOpeningTime() {
        return openingTime;
    }

    public void setOpeningTime(Date openingTime) {
        this.openingTime = openingTime;
    }

    public Date getClosingTime() {
        return closingTime;
    }

    public void setClosingTime(Date closingTime) {
        this.closingTime = closingTime;
    }

    public String getRegistrationAuthority() {
        return registrationAuthority;
    }

    public void setRegistrationAuthority(String registrationAuthority) {
        this.registrationAuthority = registrationAuthority == null ? null : registrationAuthority.trim();
    }

    public Date getApprovalDate() {
        return approvalDate;
    }

    public void setApprovalDate(Date approvalDate) {
        this.approvalDate = approvalDate;
    }

    public String getEnglishName() {
        return englishName;
    }

    public void setEnglishName(String englishName) {
        this.englishName = englishName == null ? null : englishName.trim();
    }

    public String getIndustryInvolved() {
        return industryInvolved;
    }

    public void setIndustryInvolved(String industryInvolved) {
        this.industryInvolved = industryInvolved == null ? null : industryInvolved.trim();
    }

    public String getUsedName() {
        return usedName;
    }

    public void setUsedName(String usedName) {
        this.usedName = usedName == null ? null : usedName.trim();
    }

    public String getBusinessAddress() {
        return businessAddress;
    }

    public void setBusinessAddress(String businessAddress) {
        this.businessAddress = businessAddress == null ? null : businessAddress.trim();
    }

    public String getBusinessScope() {
        return businessScope;
    }

    public void setBusinessScope(String businessScope) {
        this.businessScope = businessScope == null ? null : businessScope.trim();
    }

    public Integer getEnterType() {
        return enterType;
    }

    public void setEnterType(Integer enterType) {
        this.enterType = enterType;
    }

    public String getEnterTypeName() {
        return enterTypeName;
    }

    public void setEnterTypeName(String enterTypeName) {
        this.enterTypeName = enterTypeName;
    }

    public String getAreaName() {
        return areaName;
    }

    public void setAreaName(String areaName) {
        this.areaName = areaName;
    }

    public String getKeywords() {
        return keywords;
    }

    public void setKeywords(String keywords) {
        this.keywords = keywords;
    }

    public Integer getYear() {
        return year;
    }

    public void setYear(Integer year) {
        this.year = year;
    }

    @Override
    public String toString() {
        return "BusinessInfo{" +
                "enterId=" + enterId +
                ", unifiedCode='" + unifiedCode + '\'' +
                ", taxpayerIdentity='" + taxpayerIdentity + '\'' +
                ", registrationNumber='" + registrationNumber + '\'' +
                ", organizationCode='" + organizationCode + '\'' +
                ", legalReps='" + legalReps + '\'' +
                ", legalRepsCode='" + legalRepsCode + '\'' +
                ", registeredCapital=" + registeredCapital +
                ", managementStatus=" + managementStatus +
                ", managementStatusName='" + managementStatusName + '\'' +
                ", creationDate=" + creationDate +
                ", enterType=" + enterType +
                ", enterTypeName='" + enterTypeName + '\'' +
                ", staffSize='" + staffSize + '\'' +
                ", openingTime=" + openingTime +
                ", closingTime=" + closingTime +
                ", registrationAuthority='" + registrationAuthority + '\'' +
                ", approvalDate=" + approvalDate +
                ", englishName='" + englishName + '\'' +
                ", areaName='" + areaName + '\'' +
                ", industryInvolved='" + industryInvolved + '\'' +
                ", usedName='" + usedName + '\'' +
                ", businessAddress='" + businessAddress + '\'' +
                ", businessScope='" + businessScope + '\'' +
                ", keywords='" + keywords + '\'' +
                '}';
    }
}